"""
-*- coding:utf-8 -*-
__project__ = 'le-bo16'
__file_name__ = 'rickey'
__author__ = 'RickeyTing'
__time__ = '2020/10/27 19:36'
__product_name = PyCharm
# code is far away from bugs with the god animal protecting
    I love animals. They taste delicious.
              ┏┓      ┏┓
            ┏┛┻━━━┛┻┓
            ┃        ┃
            ┃  ┳┛  ┗┳  ┃
            ┃      ┻      ┃
            ┗━┓      ┏━┛
                ┃      ┗━━━┓
                ┃  神兽保佑    ┣┓
                ┃　永无BUG！   ┏┛
                ┗┓┓┏━┳┓┏┛
                  ┃┫┫  ┃┫┫
                  ┗┻┛  ┗┻┛
"""

import itchat

import time

print('扫描弹出来的二维码')
itchat.auto_login(hotReload = True)
boom_remark_name = input('微信用户备注')
message = input('i love you forever')
boom_obj = itchat.search_friends(remarkName = boom_remark_name)[0]['UserName']
while True:
    time.sleep(0.5)
    print('正在轰炸')
    itchat.send_msg(msg = message,toUserName = boom_obj)




class Animal(object):

    def shut(self):
        print("动物在叫")
class Dog(Animal):

    def shut(self):
        super().shut()
        print("汪汪汪")
dog = Dog()
dog.shut()


# class AgeError(Exception):
#     def __init__(self, age):
#         self.age = age
#
#     def __str__(self):
#         return '0-150age=%d' % self.age
#
#
# class People(object):
#     def __init__(self, age):
#         if age > 0 and age < 150:
#             self.age = age
#
#         else:
#
#             raise AgeError(age)
#
# rechard = People(500)



__all__()

import pymysql
coon = connect
ret = cs.fetchone
ret = cs.fetchmany(4)




